<script>
	export default {
		onLaunch: function() {
			// console.log(options, 'onLaunch')
			// 获取配置
			// this.getConfigFun()
			// this.getUser()
			// this.getSystemInfo()
			let res = uni.getSystemInfoSync() // 获取系统信息
			let top = (44+res.statusBarHeight)*2;
			let wHeight = res.windowHeight;
			uni.setStorage({
				key: 'top',
				data: top,
				success: function () {
					// console.log("top:",top);
				}
			});
			uni.setStorage({
				key: 'wHeight',
				data: wHeight,
				success: function () {
					// console.log("wHeight:",wHeight);
				}
			});
			
		},
		onShow: function() {
			
		},
		onHide: function() {
			
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "common/demo.scss";
	
</style>
